package com.jmb.api.common.center;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class DbDo {
    /**
     * 名称
     */

    @TableField(value = "name")
    private String name;

    /**
     * 0mysql 1oracle 2SqlServer
     */

    @TableField(value = "type")
    private Integer type;

    /**
     * 描述
     */

    @TableField(value = "description")
    private String description;

    /**
     * 连接url
     */

    @TableField(value = "url")
    private String url;

    /**
     * 用户名
     */

    @TableField(value = "username")
    private String username;

    /**
     * 密码
     */

    @TableField(value = "password")
    private String password;


    /**
     * 0启动 1禁用
     */

    @TableField(value = "status")
    private Integer status;

    /**
     * 测试环境url
     */

    @TableField(value = "test_url")
    private String testUrl;

    /**
     * 测试环境username
     */

    @TableField(value = "test_username")
    private String testUsername;

    /**
     * 测试环境password
     */

    @TableField(value = "test_password")
    private String testPassWord;

    /**
     * 开发环境url
     */

    @TableField(value = "dev_url")
    private String devUrl;

    /**
     * 开发环境username
     */

    @TableField(value = "dev_username")
    private String devUsername;

    /**
     * 开发环境password
     */

    @TableField(value = "dev_password")
    private String devPassword;

    /**
     * 预上线环境url
     */

    @TableField(value = "stg_url")
    private String stgUrl;

    /**
     * 预上线环境username
     */

    @TableField(value = "stg_username")
    private String stgUsername;

    /**
     * 预上线环境password
     */

    @TableField(value = "stg_password")
    private String stgPassword;

    /**
     * 生产环境url
     */

    @TableField(value = "prod_url")
    private String prodUrl;

    /**
     * 生产环境username
     */

    @TableField(value = "prod_username")
    private String prodUsername;

    /**
     * 生产环境password
     */

    @TableField(value = "prod_password")
    private String prodPassword;
}
